package interpreter;

import java.util.HashMap;
//解释器模式
public class Main {
    public static void main(String[] args) {

        String expression = "5+3-2*6";
        Context context = new Context(expression);
        context.execute();
        System.out.println(context.getExpression().interpret());
    }
}
